//
// Created by DengLibin on 2018/12/11 0011.
//
#include <iostream>
using namespace std;
/**
 * 模版函数
 */
 template  <class  T>
 T add(T t1, T t2)
{
     return t1 + t2;
}
int main7()
{
    double  x = add<double>(2.3, 34.4);
    cout << "x = " << x << endl;
    return 0;
}

